package com.wms.ymcc.mapper;

import com.wms.ymcc.domain.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author é¿çå
 * @since 2025-05-29
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据LoginId查询权限
     * @param id
     * @return
     */
    List<Permission> selectPermissionByLoginId(Long id);
}
